package com.bdqn.zhang.service;

import com.bdqn.zhang.dao.SysUserDao;
import com.bdqn.zhang.entity.SysUser;

public class SysUserServiceImpl implements SysUserService {


    private SysUserDao sysUserDao;

    public void setSysUserDao(SysUserDao sysUserDao) {
        this.sysUserDao = sysUserDao;
    }

    @Override
    public void addSysUser(SysUser sysUser) {
        sysUserDao.addSysUser(sysUser);
    }

    @Override
    public SysUser findUser(SysUser sysUser) {
       return sysUserDao.findUser(sysUser);
    }
}
